home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / math / graphs / graphed-.1 / graphed- / usr / local / graphed / include / sgraph / random.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-10  |  177 b   |  12 lines

  1. #ifndef __SGRAPH_RANDOM_H__
  2. #define __SGRAPH_RANDOM_H__
  3.  
  4. #include <stdlib.h>
  5.  
  6. #ifndef _BSD_SOURCE
  7. #define random() (long)rand()
  8. #define srandom(seed) srand(seed)
  9. #endif
  10.  
  11. #endif
  12.